<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"></jsp:include>
<div class="ui grid">
	<div class="row">
		<div class="column">
			<div class="ui two column grid">
				<div class="three wide column">
					<jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
						<jsp:param name="index" value="2"/>
					</jsp:include>
				</div>
				<div id="container" class="thirteen wide column">
                    <ol class="breadcrumb">
                        <li><a href="/">后台管理</a></li>
                        <li><a href="/question">房间管理</a></li>
                        <li class="active">房间详情</li>
                    </ol>
					<form class="form-horizontal" id="addRoomForm" method="post" action="/admin/room">
						<div class="form-group">
							<label class="col-sm-3 control-label">房间ID</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static">${room.id}</p>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">房间名称</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static">${room.name}</p>
							</div>
						</div>
                        <div class="form-group">
                            <label  class="col-sm-3 control-label">房间分类</label>
                            <div class="col-sm-5">
                                <p class="form-control-static">${room.categoryStr}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-3 control-label">房间类型</label>
                            <div class="col-sm-5">
                                <p class="form-control-static">${room.typeStr}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-3 control-label">审核状态</label>
                            <div class="col-sm-5">
                                <p class="form-control-static">${room.statusStr}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-3 control-label">可见类型</label>
                            <div class="col-sm-5">
                                <p class="form-control-static">
                                <c:choose>
                                    <c:when test="${room.visible == 0}">
                                        全部可见
                                    </c:when>
                                    <c:when test="${room.visible == 1}">
                                        游客不可见
                                    </c:when>
                                </c:choose>
                               </p>
                            </div>
                        </div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">申请时间</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static"><fmt:formatDate value="${room.createdTime}" pattern="yyyy-MM-dd"/></p>
							</div>
						</div>

					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
<script type="text/javascript" src="/static/js/support/detail.js"></script>